package com.xiaof.store.service;

import com.xiaof.store.entity.District;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @ProjectName: store
 * @Package: com.xiaof.store.service
 * @ClassName: IDistrictService
 * @Author: xiaof
 * @Description:
 * @Date: 2022/1/7 21:00
 * @Version: 1.0
 */
public interface IDistrictService {
    /**
     * 根据父区域对应的代号确定区域信息
     *
     * @param parent
     * @return 多个区域信息
     */
    List<District> getByParent(String parent);

    String getNameByCode(String code);

}
